<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<h1 align="center">美食单</h1>
       <table border="3" align="center">     
       <tr>
       <td>ID</td>
       	<td>名称</td>
       	 <td>地址</td>
       	  <td>图片</td>
       	 </tr>  
       	 <c:forEach items="${lists}" var="shoper">
       	 <tr>
       	      	 
       	 <li class="show"><a href></a><a href="show?id=${shoper.id}">修改</a></li> 
		  <li class="detele"><a href="detele?id=${shoper.id}">删除</a></li>
		  <li>--------------</a></li><br> 
		  	  
          <td>${shoper.id}</td>
       	 <td>${shoper.name}</td>
       
       	 <td>${shoper.address}</td>
       	  
       	  <td><img alt="" src="${pageContext.request.contextPath}/img/${shoper.img}"></td>
       	  
       	 </tr>

       	 </c:forEach>
       	   
       </table>
 <a href="addfoodtest.jsp">返回添加</a>

</body>
</html>